<?php
/**
 *	KLF Framework
 *
 *	Written by Kristian Oye <kristianoye@gmail.com> on Nov 20, 2011
 *	Copyright (C) 2010-2011
 */
namespace KLF\System\Web\SessionState
{
	use KLF\System\KEnum;
	
	/**
	 *  Class KSessionStateMode
	 *
	 *  An enumeration of various session types.
	 *
	 *  @package KLF\System\Web
	 *  @access public
	 *  @author Kristian Oye <kristianoye@gmail.com>
	 *  @since 0.1
	 *
	 *  @method KSessionStateMode NewInstance
	 */
	class KSessionStateMode extends KEnum
	{
		/**
		 * Session uses custom storage schema.
		 * 
		 * @var integer Custom
		 */
		const Custom		= 1;
		
		/**
		 * Use the default MySQL session storage (filesystem).
		 * 
		 * @var integer InProc
		 */
		const InProc		= 2;
		
		/**
		 * Session state is disabled.
		 * 
		 * @var integer Off
		 */
		const Off			= 3;
		
		/**
		 * Session is stored in an external SQL database.
		 * 
		 * @var integer SQLServer
		 */
		const SQLServer		= 4;
		
		/**
		 * Session is stored in an external server (like memcache)
		 * 
		 * @var integer StateServer
		 */
		const StateServer	= 5; 
	}
}
